#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import matplotlib.pyplot as plt
plt.clf()

VE= ?   #volume à l equivalence en L
Cbase= ? #concentration en quantite de matiere du reactif titrant en mol/L
nAH_i= ? #quantite de matiere initiale du reactif titre en mol
V=[i*VE/13.6 for i in range(25)] #crée 25 valeurs de volume de solution titrante ajoute
#valeurs rangees dans une liste
nAH=[]
nOH=[]
nNa=[]
nA=[]

for v in V :
    if v<VE :
        nAH.append( ? )
        nOH.append( ? )
        nNa.append( ? )
        nA.append( ? )
    
    else :
        nAH.append( ? )
        nOH.append( ? )
        nNa.append( ? )
        nA.append( ? )

plt.plot(V, nAH, 'b+-', label="AH")
plt.plot(V, nOH, 'go-', label="OH-")
plt.plot(V, nNa, 'rx', label="Na+")
plt.plot(V, nA, 'cs', label="A-")
plt.xlabel("Volume de solution titrante en L")
plt.ylabel("Quantite de matiere en mol")
plt.legend()
plt.show()

    